#!/bin/sh
APPDIR=`dirname $0`;

#get the location of the gwt home from the build.properties file
GWT_HOME=`grep '^gwt.home' build.properties | cut -d = -f 2`;

#get the platform specific jar containing GWT compiler from the build.properties
GWT_PLATFORM=`grep '^gwt.platform.jar' build.properties | cut -d = -f 2`;

java  -cp "$APPDIR/src:$APPDIR/bin:$GWT_HOME/gwt-user.jar:$GWT_HOME/$GWT_PLATFORM" com.google.gwt.dev.GWTShell -out "$APPDIR/www" "$@" com.google.checkout.samples.samplestore.GridStore/GridStore.html;